package com.leadingsoft.pwxk.converter;

import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.TableResultConverter;
import com.leadingsoft.pwxk.dto.LicenseInfoDto;
import com.leadingsoft.pwxk.model.LicenseInfo;
/**
 * 
 * @author ysh
 *
 */
@Component
public class LicenseInfoTbaleConverter implements TableResultConverter<LicenseInfo, LicenseInfoDto>{
	
	@Override
	public LicenseInfoDto toTableResultDto(LicenseInfo model) {
		LicenseInfoDto dto = new LicenseInfoDto();
		dto.setDataid(model.getDataid());
		dto.setFzDept(model.getFzDept());
		dto.setFztime(model.getFztime());
		dto.setXkzfmNum(model.getXkzfmNum());
		dto.setXkzNum(model.getXkzNum());
		return dto;
	}

}
